package com.mzj.saas.mservice.propertybill.repository;

import com.mzj.saas.mservice.propertybill.entity.EstateExpenseBillRule;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.repository.query.Param;

public interface EstateExpenseBillRuleRepository extends PagingAndSortingRepository<EstateExpenseBillRule, Long>, JpaSpecificationExecutor<EstateExpenseBillRule>, JpaRepository<EstateExpenseBillRule,Long> {
    @Query("from EstateExpenseBillRule where id=:Id ")
    EstateExpenseBillRule findById(@Param("Id") String Id);
}
